Indexed Labels for Loop Iteration Dependent Costs

نویسنده

  • Paolo Tranquilli
چکیده

We present an extension to the labelling approach, a technique for lifting resource consumption information from compiled to source code. This approach, which is at the core of the annotating compiler from a large fragment of C to 8051 assembly of the CerCo project, looses preciseness when differences arise as to the cost of the same portion of code, whether due to code transformation such as loop optimisations or advanced architecture features (e.g. cache). We propose to addresses this weakness by formally indexing cost labels with the iterations of the containing loops they occur in. These indexes can be transformed during the compilation, and when lifted back to source code they produce dependent costs. The proposed changes have been implemented in CerCo’s untrusted prototype compiler from a large fragment of C to 8051 assembly [2].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A transformation-based method for loop folding

We propose a transformation-based scheduling algorithm for the problemgiven a loop construct, a target initiation interval and a set of resource constraints, schedule the loop in a pipelined fashion such that the iteration time of executing an iteration of the loop is minimized. The iteration time is an important quality measure of a data path design because it affects both storage and control ...

متن کامل

A new mathematical model for the closed-loop supply chains considering pricing for product, a fleet of heterogeneous vehicles, and inventory costs

Mathematical models have been used in many areas of supply chain management. In this paper, we present a mixed-integer non-linear programing (MINLP) model to solve a multi-period, closed-loop supply chains (CLSCs) with two echelons consist of producers and customers. In order to satisfy the demands, the producers are be able to order for materials in the beginning of each period for one or more...

متن کامل

A Strain Range Dependent Cyclic Plasticity Model

Hysteresis loop curves are highly important for numerical simulations of materials deformation under cyclic loadings. The models mainly take account of only the tensile half of the stabilized cycle in hysteresis loop for identification of the constants which don’t vary with accumulation of plastic strain and strain range of the hysteresis loop. This approach may be quite erroneous particularly ...

متن کامل

Compile-Time Partitioning of Three-Dimensional Iteration Spaces

This paper presents a strategy for compile-time partitioning of generalised three-dimensional iteration spaces; it can be applied to loop nests comprising two inner nested loops both of which have bounds linearly dependent on the index of the outermost parallel loop. The strategy is analysed using symbolic analysis techniques for enumerating loop iterations which can provide estimates for the l...

متن کامل

Solving Multilabel MRFs using Incremental α-Expansion on the GPUs

Many vision problems map to the minimization of an energy function over a discrete MRF. Fast performance is needed if the energy minimization is one step in a control loop. In this paper, we present the incremental α-expansion algorithm for high-performance multilabel MRF optimization on the GPU. Our algorithm utilizes the grid structure of the MRFs for good parallelism on the GPU. We improve t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012